package org.wicketskunkworks.shoebox.badging;

import org.apache.wicket.Resource;
import org.apache.wicket.ResourceReference;

public class WrapperResourceReference extends ResourceReference {
	// Wrapped resource
	private final Resource res;

	public WrapperResourceReference(String name, Resource res) {
		super(BadgingContainer.class, name);
		this.res = res;
	}

	@Override
	protected Resource newResource() {
		// return super.newResource();
		return res;
	}

}
